package org.neuedu.chapter07_0623.demo12;

public class StaticDemo01 {
    int num1 = 10;
    public  static int num2 = 100;

    public static void main(String[] args) {
        StaticDemo01 sd1 = new StaticDemo01();
        sd1.num1 += 10;
        System.out.println(sd1.num1);

        StaticDemo01 sd2 = new StaticDemo01();
        System.out.println(sd2.num1);// 10

//        sd1.num2 += 10;
        System.out.println(sd2.num2);
    }
}
